package com.uwo.house.kits;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by yanhao on 2017/7/18.
 */
public class CacheKits {

    private static Map<String, Object> caches = new HashMap<String, Object>();

    public static void put(String key, Object value){
        caches.put(key, value);
    }

    public static Object get(String key){
        return caches.get(key);
    }

    public static boolean has(String key){
        return caches.containsKey(key);
    }


}
